package com.sxh.logging;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LogMap {
    @Insert("insert into operation_logs(user_id, action, ip, detail,option_id,option_time) " +
            "values (#{userId},#{action},#{ip},#{detail},#{optionId},#{optionTime})")
    void insertLog(OperationLog log);
}
